from PIL import Image
import pickle
import numpy as np


img = Image.open(r'./dataset/Origin/题目一/1/LDC002_1_1_t_b.jpg')
img = np.array(img)
with open(r'x.t', 'wb') as f:
    pickle.dump(img, f)
